<!--WARNING: This file is maintained by ROO! IT WILL BE OVERWRITTEN unless you specify null	@RooWebScaffold(automaticallyMaintainView = false) in the governing controller-->
<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>
<script type="text/javascript">dojo.require("dijit.TitlePane");</script>
<div dojoType="dijit.TitlePane" style="width: 100%" title="Update Employee">
    <form:form action="/roo/employee/${employee.id}" method="PUT" modelAttribute="employee">
        <div id="roo_employee_firstName">
            <label for="firstName">First Name:</label>
            <form:input cssStyle="width:250px" maxlength="30" path="firstName" size="0"/>
            <br/>
            <form:errors cssClass="errors" path="firstName"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "firstName", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter First Name (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_employee_lastName">
            <label for="lastName">Last Name:</label>
            <form:input cssStyle="width:250px" maxlength="30" path="lastName" size="0"/>
            <br/>
            <form:errors cssClass="errors" path="lastName"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "lastName", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Last Name (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_employee_birthDate">
            <label for="birthDate">Birth Date:</label>
            <form:input cssStyle="width:250px" maxlength="30" path="birthDate" size="0"/>
            <br/>
            <form:errors cssClass="errors" path="birthDate"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "birthDate", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Birth Date", invalidMessage: "", required : false}})); </script>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "birthDate", widgetType : "dijit.form.DateTextBox", widgetAttrs : {datePattern : "MM/dd/yyyy", required : false}})); </script>
        </div>
        <br/>
        <div class="submit" id="roo_employee_submit">
            <script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
            <input id="proceed" type="submit" value="Update"/>
        </div>
        <form:hidden path="id"/>
        <form:hidden path="version"/>
    </form:form>
</div>
<jsp:directive.include file="/WEB-INF/jsp/footer.jsp"/>
